package com.qcu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qcu.entity.HealthMenu;
import org.apache.ibatis.annotations.Select;

/**
* @author MyComputer
* @description 针对表【health_menu】的数据库操作Mapper
* @createDate 2025-02-06 11:49:50
* @Entity com.qcu.entity.HealthMenu
*/
public interface HealthMenuMapper extends BaseMapper<HealthMenu> {

    @Select("select h.item from health_menu h\n" +
            "\tleft join order_info o on h.name = o.title\n" +
            "where o.order_no = #{orderNo}")
    String getContent(String orderNo);
}




